package com.cskaoyan.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author stone
 * @date 2021/11/26 11:27
 */
@Data
@ConfigurationProperties(prefix = "cskaoyan.datasource")
public class DataSourceProperties {
    String driverClassName;
    String url;
    String username = "root";
    String password;
}
